package com.itheima.sh.dao;

import com.itheima.sh.pojo.User;
import org.apache.ibatis.annotations.Select;

/**
 * @author stay foolish
 * @description 行至水穷处, 坐看云起时
 * @date 2022/11/15 19:58:19
 * @description TODD
 */
public interface LoginUser {
    @Select("select * from user where username=#{username} and password=#{password}")
    User login(User user);
}
